﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kingdee.BOS.Core.CloudModel.Cloud
{

    public class SAL_SaleOrderFinance
    {
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FSettleCurrId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsPriceExcludeTax { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsIncludedTax { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FExchangeTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FOverOrgTransDirect { get; set; }
        /// <summary>
        /// 价税合计
        /// </summary>
        public decimal? FBillAllAmount { get; set; }
        /// <summary>
        /// 价税合计-本位币
        /// </summary>
        public decimal? FBillAllAmount_LC { get; set; }
        /// <summary>
        /// 整单折扣额
        /// </summary>
        public decimal? FAllDisCount { get; set; }
    }

    public class SAL_SaleOrderEntryPlan
    {
        public string FDetailLocAddress { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FPlanDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FPlanQty { get; set; }
    }

    public class SAL_SaleOrderEntry
    {
        /// <summary>
        /// 
        /// </summary>
        public string FRowType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FMaterialId { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        //public string FMaterialModel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FUnitID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FPriceUnitId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FTaxPrice { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal? FEntryTaxRate { get; set; }
        /// <summary>
        /// 税额
        /// </summary>
        public decimal? FEntryTaxAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsFree { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FDeliveryDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FStockOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FSettleOrgIds { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FSupplyOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOwnerTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FOwnerId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FReserveType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FPriceBaseQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FStockUnitID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FStockQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FStockBaseQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FOUTLMTUNIT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FOutLmtUnitID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FISMRP { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FAllAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FAllAmountExceptDisCount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SAL_SaleOrderEntryPlan> FOrderEntryPlan { get; set; }
    }

    public class SAL_SaleOrderPlan
    {
        /// <summary>
        /// 
        /// </summary>
        public bool? FNeedRecAdvance { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FRecAdvanceRate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal? FRecAdvanceAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsOutStockByRecamount { get; set; }
    }

    public class SAL_SaleOrder
    {
        /// <summary>
        /// 
        /// </summary>
        public int FID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FBillTypeID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FSaleOrgId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FCustId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FReceiveId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FSaleDeptId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FSalerId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FSettleId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrgBase FChargeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FISINIT { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsMobile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsUseOEMBomPush { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsUseDrpSalePOPush { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string FReceiveAddress { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string FLinkPhone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool? FIsCreateStraightOutIN { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string FNote { get; set; }
        public string F_PFKX_LargeText { get; set; }
        public string F_PFKX_LargeText1 { get; set; }
        public string F_PFKX_LargeText_Tag { get; set; }
        /// <summary>
        /// 合同号
        /// </summary>
        public string F_PFKX_Text { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SAL_SaleOrderEntry> FSaleOrderEntry { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public SAL_SaleOrderFinance FSaleOrderFinance { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SAL_SaleOrderPlan> FSaleOrderPlan { get; set; }
    }

}
